<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
 <%@ taglib uri="/struts-tags" prefix="s"%>

<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html>
<head>

<title>ASIMS</title>
<link href="/asims/CSS/style.css" rel="stylesheet" type="text/css" />
</head>

<body>
	<div id="wrap">
		<div id="header">
			<h1 id="sitename"><a href="#">ASIMS</a></h1>
			<div id="nav">
				<div id="titleblock">
					<div id="subject">机场静态信息管理系统</div>
					<div id="spirit"><a href="#">王蒙 已登录</a> | <a href="queryUserForIndex.action" target="_parent">个人信息维护</a> | <a href="login.html" target="_parent">注销</a></div>
				 </div>
				<div id="topmenu">
					<ul>
						<li><a href="index.html">首页</a></li>
						<li><a href="user_manag.html">用户和角色管理</a></li>
						<li class="active"><a href="listInArFlight.action">航班信息管理</a></li>
						<li><a href="facilities_manag.html">机场设施管理</a></li>
						<li><a href="news_view_intr.html">新闻中心</a></li>
					</ul>
			</div>
		</div>
		<div class="clear"></div>
		<div id="breadcrumb">网站路径：<a href="/asims/index.jsp">首页</a> &raquo; <a href="listInArFlight.action"  class="active">航班信息管理</a></div>
	</div>
	<div id="content">
		<div id="right">
		   <div class="post">
				<h2><a href="listInArFlight.action">搜索结果</a></h2>
				<s:form name ="search" method = "post" action="searchFlight.action">
						<div class="contactform">
							<p class="first">
								<label for="flightnumber">航班号：</label>
								<s:textfield name="flight.flightnumber"></s:textfield>
							</p>
							<p>
								<label for="origin">始发地：</label>
								<s:textfield name="flight.origin"></s:textfield>
							</p>
							<p>
								<label for="destination">目的地：</label>
								<s:textfield name="flight.destination"></s:textfield>
							</p>
							<p>
								<label for="airline">航空公司：</label>
								<s:textfield name="flight.airline"></s:textfield>
							</p>
							<div class="buttons">
								<div class="butarea1"></div>
								<s:submit type="button"  onclick="checksearchform()">
									<img src="/asims/images/find.png" alt=""/> 
									查询
								</s:submit>
							</div>
						</div>
				</s:form>
				<!-- 
					<form name="form1" method="post" action="">
						<div class="contactform">
							<p class="first">
								<label for="flightnumber">航班号：</label>
								<input class="textfield" name="flightnumber" id="flightnumber" type="text" />
							</p>
							<p>
								<label for="startingstation">始发地：</label>
								<input class="textfield" name="startingstation" id="startingstation" type="text" />
							</p>
							<p>
								<label for="airline">航空公司：</label>
								<input class="textfield" name="airline" id="airline" type="text" />
							</p>
							<div class="buttons">
								<div class="butarea1"></div>
								<button type="submit" class="button2" name="save">
									<img src="/ASMIS/images/find.png" alt=""/> 
									查询
								</button>
							</div>
						</div>
					</form>
				-->
	<s:form>	
		<table cellspacing="0" cellpadding="0">
			<tr>
			  <th scope="col"></th>
			  <th scope="col">计划时间</th>
			  <th scope="col">航班号</th>
			  <th scope="col">始发地</th>
			  <th scope="col">经停地</th>
			  <th scope="col">目的地</th>
			  <th scope="col">到港时间</th>
			  <th scope="col">离港时间</th>
			  <th scope="col">登机门</th>
			  <th scope="col">航空公司</th>
			</tr>
			

			<tr>
			<s:iterator value="flights" status="index">
			<tr>
			  <td><input name="radiobutton" type="radio" value="radiobutton" /></td>
			  <td><s:property value="scheduletime"/></td>
			  <td><s:property value="flightnumber"/></td>
			  <td><s:property value="origin"/></td>
			  <td><s:property value="stop"/></td>
			  <td><s:property value="destination"/></td>
			  <td><s:property value="arrivalTime"/></td>
			  <td><s:property value="departureTime"/></td>
			  <td><s:property value="board"/></td>
			  <td><s:property value="airline"/></td>
			  </tr>
			</s:iterator>
			</tr>
		</table>
		<div class="pagenavi">
			<span class="alignright"><a href="">下一页</a> &raquo;</span>
			<span class="alignleft">&laquo; <a href="">上一页</a></span>
		</div>
			
			
			<div class="buttons">
				<div class="butarea3"></div>
				<s:submit type ="button" name="redirect:airline_manage/airline_manag_InAr_add.jsp">
					<img src="/asims/images/add1-16.png" alt=""/> 
					新增
				</s:submit>
				<s:submit type ="button" name="delete" action="deleteFlight.action" method="deleteFlight" onclick="window.confirm('确定要删除该航班吗？')">
					<img src="/asims/images/cross.png" alt=""/> 
					删除
				</s:submit>
				<s:submit type ="button" name="redirect:airline_manage/airline_manag_InAr_edit.jsp">
					<img src="/asims/images/textfield_key.png" alt=""/> 
					修改
				</s:submit>
			</div>
	</s:form>

		</div>


		</div>
			
		<div id="sidebar">
			<div id="sidebartop"></div>
			<h2>航班信息管理</h2>
			<ul>
			  <li><a href="listInArFlight.action">国内到港</a></li>
			  <li><a href="listInDeFlight.action">国内离港</a></li>
			  <li><a href="listOuArFlight.action">国际到港</a></li>
			  <li><a href="listOuDeFlight.action">国际离港</a></li>
			</ul>
		</div>
		<div class="clear"></div>
		<div id="bottom">
		<p><img src="/asims/images/copyright.jpg" /></p>
		<p><a href="">隐私权</a> | <a href="">&copy;版权</a> | <a href="">法律声明</a> | <a href="">电子邮件：admin@163.com</a>
		</div>
		</div>
		
		<div id="footer">
		<div id="credits">
		ASIMS Power by IBM
		</div>
		</div>
	</div>

</body>
</html>
